package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Setter@Getter
public class Chat extends BaseDomain{
/*
* 聊天
* */
    private User send;

    private User receive;

    private String content;

    private Boolean state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone="GMT-8")
    private Date time;


}